package com.ruoyi.flowable.service;

import org.flowable.ui.common.model.ResultListDataRepresentation;
import org.flowable.ui.modeler.model.ModelRepresentation;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

public interface IModelQueryService {

    ResultListDataRepresentation getModels(String filter, String sort, Integer modelType, HttpServletRequest request);

    ResultListDataRepresentation getModelsToIncludeInAppDefinition();

    ResultListDataRepresentation getCmmnModelsToIncludeInAppDefinition();

    ModelRepresentation importProcessModel(HttpServletRequest request, MultipartFile file);

    ModelRepresentation importCaseModel(HttpServletRequest request, MultipartFile file);

    ModelRepresentation importDecisionServiceModel(HttpServletRequest request, MultipartFile file);


}
